initial commit
[clinton/prusa3.git] / old stuff / experimantal-extruder.scad
CommitLineData
d3618a65
NZ
1// PRUSA Mendel
2// Experimental extruder
3// GNU GPL v3
4// Josef Průša
5// josefprusa@me.com
6// prusadjs.cz
7// http://www.reprap.org/wiki/Prusa_Mendel
8// http://github.com/prusajr/PrusaMendel
9
10include <configuration.scad>
11
12/**
13 * @id y-motor-bracket
14 * @name Y motor bracket
15 * @id y-motor-bracket
16 * @category Printed
17 * @using 3 m3washer
18 * @using 4 m8washer
19 * @using 4 m8nut
20 * @using 2 m3x10xhex
21 * @using 1 m3x10xflat
22 */
23drive_pulley_dia = 8; //mm
24idler_dia = 22; //mm
25pushed_dia = 2; //mm
26axes_distance = drive_pulley_dia/2 + idler_dia/2 + pushed_dia;
27
28//layer height - for bridge hack
29layer_height = 0.35;
30
31difference(){
32 // main rounded block
33 intersection(){
34 union(){
35 translate([0-2,0,3]) cube([42+4,42,6], center=true);
36 translate([-10.5-2,0,7+6]) cube([21+4,42,14], center=true);
37 }
38 translate([0,0,3]) rotate([0,0,45]) cube([52,52,60], center=true);
39 }
40 //motor mounting holes - screws
41 translate([15.5,15.5,-3])cylinder(r=3.5/2,h=15);
42 translate([15.5,-15.5,-3])cylinder(r=3.5/2,h=15);
43 translate([-15.5,15.5,-3])cylinder(r=3.5/2,h=15);
44 translate([-15.5,-15.5,-3])cylinder(r=3.5/2,h=15);
45
46 //motor mounting holes - screws head recess
47 translate([-15.5,15.5,6])cylinder(r=6.5/2,h=15);
48 translate([-15.5,-15.5,6])cylinder(r=6.5/2,h=15);
49
50 //shaft cutout
51 translate([0,0,3+layer_height])cylinder(r=(drive_pulley_dia+0.5)/2,h=20);
52
53 //idler cutout
54 translate([-axes_distance,0,6+3.5])cylinder(r=(idler_dia+0.5)/2,h=7);
55 translate([-axes_distance-idler_dia/2,0,3.5+6+3.5]) cube([idler_dia, idler_dia, 7], center=true);
56 translate([0,0,7+6+0.5]) cube([drive_pulley_dia+0.5, idler_dia, 14+1], center=true);
57
58 //idler axis
59 translate([-axes_distance,0,0]) cylinder(r=(8+0.5)/2,h=6+3.5+2);
60 translate([-axes_distance,0,6+7+3.5+layer_height]) cylinder(r=(8+0.5)/2,h=22);
61
62 //filament
63 translate([-drive_pulley_dia/2-pushed_dia/2,0,6+7]) rotate([90,0,0]) cylinder(r=4/2,h=50, center=true);
64
65translate([0,0,-0.1])cylinder(r=23/2,h=3);
66
67}